One-hot encoding
- 2024-10-21
Representing categorical data as a vector in which:1
- One element is set to 1.
- All other elements are set to 0.
One-hot encoding is commonly used to represent strings or identifiers that have a finite set of possible values..1